<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:m="http://www.richfaces.org/veles">
    <h:head>
        <title>Google Map with info window</title>
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
        <style type="text/css">
           html {height: 100%}
            body { height: 100%; margin: 5px; padding: 0px }
            .map_canvas{
                height: 400px;
                width: 600px;
            }
        </style>
    </h:head>
    <h:body>
        <m:googleMap latitude="23.43" longitude="54.34" mapType="ROADMAP" styleClass="map_canvas" zoom="3">
            <m:marker latitude="13.43" longitude="33.23" clickable="true" >
                <m:infoWindow latitude="33.43" longitude="43.23" shown="false">Enjoy our library!</m:infoWindow>
            </m:marker>
            <m:infoWindow id="infoWindow1" shown="true" latitude="23.43" longitude="54.34">Hello From Veles!</m:infoWindow>
        </m:googleMap>        
    </h:body>
</html>

